import React from 'react'
import { Route, Link } from 'react-router-dom'
import Test1 from './Test1'
import Test2 from './Test2'
export default function Home(props) {
  console.log(props)
  return (
    <div>
      Home
      <hr />
      <Link to="/home/test1">test1</Link>
      <Link to="/home/test2">test2</Link>
      {/* <Test1></Test1>
      <Test2></Test2> */}
      <Route path="/home/test1" component={Test1}></Route>
      <Route path="/home/test2" component={Test2}></Route>
    </div>
  )
}
